package com.test.model;

import android.content.Context;
import android.widget.Toast;

/**
 * 项目名称:the_practice_of_git
 * 创建人:zhuguowei
 * 创建时间:2018/3/9 10:47
 */

public class Presenter {
    private Context mContext;

    public Presenter(Context context) {
        mContext = context;
    }

    public void onTextChanged(CharSequence s, int start, int before, int count) {
        Toast.makeText(mContext, "点击：" + s.toString(), Toast.LENGTH_SHORT).show();
    }

    public void onClickListenerBind(User user) {
        Toast.makeText(mContext, "User.getFirstName: " + user.getFirstName(), Toast.LENGTH_SHORT).show();
    }
}
